package com.springcloud.client.modules.service;

import org.springframework.stereotype.Component;

/**
 * 定义某个接口的HiHystrix 异常
 * @author Administrator
 *
 */
@Component
public class SchedualServiceHiHystrix implements FeignService {

	/**
	 * hi接口的异常
	 */
	@Override
	public String hi(String name) {
		return "feign...... name:"+name+"系统错误,调用接口失败!!";
	}

}
